// Extend.js (http://code.google.com/p/extendjs/)
// Copyright 2010 Shumpei Shiraishi All rights reserved.
// Licensed under the MIT license.

(function(_global) {
    var NATIVE_METHODS_BOOLEAN = [
	"toString", "valueOf", "toJSON"
    ];
    X.extend("Boolean", function(value) {
	return typeof value === "boolean";
    });
    X.Boolean.extend({
	isBoolean: function() {
	    return true;
	}
    });
    X.Boolean.mixin(Boolean.prototype, NATIVE_METHODS_BOOLEAN);
})(this);
